SECREG

This program will perform secant regression on a data set. The user enters in the x-coordinates and y-coordinates as a list. There must be at least 4 data points provided otherwise an error message will occur. The program outputs the following:
1) The function "y = asec(bx)" printed to the screen
2) The value of a
3) The value of b
4) The R^2 value. 

The program will also offer a plotting option if you wish to see the scatterplot of the data as well as the curve being fitted. Great for statistics or pre-calculus students. Enjoy!